<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <title>联合信签</title>
    <link rel="stylesheet" href="css/edit.css">
    <script type="text/javascript" src="/zz/jquery.min.js"></script>
    <script type="text/javascript" src="/zz/pageoffice.js" id="po_js_main"></script>
    <script src='js/edit.js'></script>
</head>
<body>
<div class="wrapper">
    <section class="el-container wrapper-container">
        <section class="el-container content-wrapper is-vertical">
            <!--<header class="el-header" style="height: 60px;">
                <img src="img/logo.png" class="logo"/>
            </header>-->
            <main class="el-main login-main">
                <div class="content-container" id="content-container">
                    <p class="step-title">编辑合同</p>
                    <div class="left-side">
                        <div class="labels-div" id="marks"></div>
                        <div class="check-label" onclick="checkLabel()">查看书签内容</div>
                        <!--<p>标签1</p>-->
                    </div>
                    <div class="right-side">
                        <div class="contract-div">
                            <object classid="clsid:00460182-9E5E-11d5-B7C8-B8269041DD57" id="oframe" width="100%"
                                    height="615px" codebase="./1.CAB#version=2,3,0,1">
                                <param name="BorderStyle" value="1"/>
                                <param name="TitlebarColor" value="52479"/>
                                <param name="TitlebarTextColor" value="0"/>
                                <param name="Menubar" value="0"/>
                                <param name="Titlebar" value="0"/>
                                <param name="Menubar" value="0"/>
                            </object>
                            <div style="display: none">
                                <script type="text/javascript" for="oframe" event="OnDocumentOpened(str,obj)">
                                    OnDocumentOpened(str, obj);
                                </script>
                                <script type="text/javascript" for="oframe" event="OnDocumentClosed()">
                                    OnDocumentClosed();
                                </script>
                            </div>
                        </div>
                        <div class="bottom-content">
                            <div class="link-button" id="editTemplate" onclick="unlock()">修改模板</div>
                            <div class="link-button" id="updateRecord" onclick="updateRecord()">修订记录</div>
                            <div class="link-button" id="compareStart">合同对比</div>
                            <div class="link-button button-right button-blue" id="goToCheck">提交法审</div>
                            <div class="link-button button-right button-blue" id="send">发送给供应商</div>
                            <!--<div class="link-button button-right button-blue" id="send">发送给交行</div>-->
                            <!--<div class="link-button button-right button-blue" id="goToCheck">填写价格信息表</div>-->
                            <div class="link-button button-right" id="save" onclick="save()">保存</div>
                        </div>
                    </div>
                </div>
            </main>
            <footer class="el-footer" style="height: 60px;">copyright © 2019中国银联</footer>
        </section>
    </section>
</div>
<!--
    <div class="modal">
        <input type="checkbox" name="" id="modal_1">
        <div class="main">
            <div class="content">
                <div class="msg-header">
                    <span>填写标签内容</span><label for="modal_1" class="msg-close">×</label>
                </div>
                <div class="msg-content">
                    <p id="label-name">标签名</p>
                    <div class="msg-input">
                        <input placeholder="填写标签内容" id="label-content" />
                    </div>
                </div>
                <div class="msg-btn">
                    <label class="btn button-confirm" for="modal_1" onclick="setMarkValInput()">确定</label>
                    <label class="btn button-cancel" for="modal_1">取消</label>
                </div>
            </div>
            <iframe id="iframe1" src="about:blank" frameBorder="0" marginHeight="0" marginWidth="0" style="position:absolute; visibility:inherit; top:0px;left:0px;width:420px; height:225px;z-index:-1; filter:alpha(opacity=0);"></iframe>
        </div>
    </div>-->
<div class="compare-content" id="compare-content">
    <div class="msg-header">
        <span>合同比对</span><label class="msg-close" onclick="compareCancel()">×</label>
    </div>
    <p style="display:inline-block;width:200px;margin-left:32px;">文件1</p>
    <p style="display:inline-block;width:200px;margin-left:20px;">文件2</p>
    <div class="cp-left">
        <p>交通银行-测试服务合同</p>
    </div>
    <div class="cp-right">
        <label><input name="files" checked type="radio" value="0" onclick="selectFile()"/>修改版本 </label>
        <label><input name="files" type="radio" value="1" onclick="selectFile()"/>本地文件 </label>
        <div class="history-file" id="history-file">
            <ul>
                <li data-id="363F54EABF6B87C8BC59D21D59E41DD8">
                    <p class="name">交通银行测试服务合同v1.docx</p>
                    <p class="time">修订方：交通银行 修订时间：2020-02-20 13:45:12</p>
                </li>
                <li data-id="7839F8F7B6AFB3D23C5C5A6E68673A97">
                    <p class="name">交通银行 测试服务合同v2.docx</p>
                    <p class="time">修订方：供应商 修订时间：2020-02-20 13:55:36</p>
                </li>
            </ul>
        </div>
        <div class="local-file" id="local-file">
            <input type="file"/>
        </div>
    </div>
    <div class="msg-btn">
        <label class="btn button-confirm" id="compare">开始比对</label>
        <label class="btn button-cancel" id="compareCancel">取消</label>
    </div>
    <iframe id="iframe3" src="about:blank" frameBorder="0" marginHeight="0" marginWidth="0"
            style="position:absolute; visibility:inherit; top:-12px;left:-12px;width:625px; height:425px;z-index:-1; filter:alpha(opacity=0);"></iframe>
</div>
<div class="compare-content" id="update-content">
    <div class="msg-header up-header">
        <!--<div class="msg-header up-header">-->
        <span>修订记录</span><label class="msg-close" onclick="updateCancel()">×</label>
    </div>
    <div class="up-left">
        <ul>
            <li class="up-li selected" onclick="selectVersion(this)">
                <div class="up-title"><span>交通银行 测试服务合同v1</span></div>
                <div class="up-person"><span>修订方：交通银行</span></div>
                <div class="up-time"><span>修订时间：2020-02-20 13:45:12</span></div>
            </li>
            <li class="up-li" onclick="selectVersion(this)">
                <div class="up-title"><span>交通银行_测试服务合同v2</span></div>
                <div class="up-person"><span>修订方：供应商</span></div>
                <div class="up-time"><span>修订时间：2020-02-20 13:55:36</span></div>
            </li>
        </ul>
    </div>
    <!-- <div class="up-top">
         <div class="up-tab">
             v1
         </div>
     </div>-->
    <div class="up-right">
        <!--<div class="up-time-person">修订方：供应商 修订时间：2020-02-17 18:54:01</div>-->
        <!--<div class="up-middle">-->
        <div class="up-detail selected">
            <!--<div class="detail-li">
                <span class="operate add">增加了</span><span>供应商</span><span class="position" onclick="goPosition(2)">定位</span>
            </div>
            <div class="detail-li">
                <span class="operate add">增加了</span><span>上海市浦东新区</span><span class="position" onclick="goPosition(4)">定位</span>
            </div>
            <div class="detail-li">
                <span class="operate add">增加了</span><span>210210</span><span class="position" onclick="goPosition(6)">定位</span>
            </div>
            <div class="detail-li">
                <span class="operate add">增加了</span><span>经协商后，</span><span class="position" onclick="goPosition(8)">定位</span>
            </div>
            <div class="detail-li">
                <span class="operate delete">删除了</span><span>特此</span><span class="position" onclick="goPosition(8)">定位</span>
            </div>-->
        </div>
        <div class="up-detail">

        </div>
    </div>
    <div class="msg-btn">
        <label class="btn button-confirm" onclick="updateCancel()">确定</label>
        <label class="btn button-cancel" onclick="updateCancel()">取消</label>
    </div>
    <iframe id="iframe4" src="about:blank" frameBorder="0" marginHeight="0" marginWidth="0"
            style="position:absolute; visibility:inherit; top:-12px;left:-12px;width:625px; height:425px;z-index:-1; filter:alpha(opacity=0);"></iframe>
</div>
<div class="compare-content" id="check-label-content">
    <div class="msg-header">
        <span>书签内容</span><label class="msg-close" onclick="labelCancel()">×</label>
    </div>
    <div class="label-middle" id="label-middle">

    </div>
    <div class="msg-btn">
        <label class="btn button-confirm" onclick="labelCancel()">确定</label>
    </div>
    <iframe id="iframe5" src="about:blank" frameBorder="0" marginHeight="0" marginWidth="0"
            style="position:absolute; visibility:inherit; top:-12px;left:-12px;width:625px; height:425px;z-index:-1; filter:alpha(opacity=0);"></iframe>
</div>
</body>
</html>
